package com.oreilly.ez.service;

import com.oreilly.ez.entity.Enrollment;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;


public interface EnrollmentService {

    Enrollment save(Enrollment item);

    void remove(Integer sid);

    Enrollment findOne(Integer sid);

    Page<Enrollment> find(Enrollment item, Pageable pageable);
}
